#define _CRT_SECURE_NO_WARNINGS 1
#include<stdio.h>
#include<stdlib.h>
#include<time.h>
int main()
{
	/*srand((unsigned int)time(NULL));
	printf("%d\n", rand()%100+1);
	printf("%d\n", rand() % 100 + 1);
	printf("%d\n", rand() % 100 + 1);
	printf("%d\n", rand() % 100 + 1);


	return 0;*/
	int a[] = { 10,20,40,55,21,30,451,814 };
	int max = a[0];
	for (int i = 1; i < 7; i++)
	{
		
		if (max < a[i])
			max = a[i];
	}
	printf("%d", max);
	
}


